package com.vogue.supplymall.order.exception;

import com.vogue.supplymall.common.constant.ErrorCode;
/**
 * 订单支付超时异常
 * @author cy
 */
@SuppressWarnings("serial")
public class OrderIsTimeOverException extends BaseException {

    /** 订单编号或者是订单id */
    private String orderflag;
    
    public OrderIsTimeOverException(String msg) {
        super(ErrorCode.OrderIsTimeOver.getCode(), msg);
        this.orderflag = msg;
    }

    /**
     * @return 获得订单唯一标志（id或者是ordernumber）
     */
    public String getOrderFlag () {
        return this.orderflag;
    }    
}
